-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade playwright to 1.48.2 #8355
Conversation
We are still waiting for this to be fixed: microsoft/playwright#32269 |
0075e0c
to
12384a9
Compare
925869b
to
b988e9d
Compare
89241b7
to
4577f45
Compare
This failure is caused by #8397 |
4577f45
to
8a66554
Compare
28008ca
to
a0ef673
Compare
ec78310
to
f915d38
Compare
f915d38
to
1d490b9
Compare
0b2f280
to
6ff2b6a
Compare
@@ -178,15 +178,15 @@ describe('accessibility', () => { | |||
it('should move focus to next element after esc followed by tab are pressed', async () => { | |||
const wrapper = fixtureSync(`<div> | |||
<vaadin-rich-text-editor></vaadin-rich-text-editor> | |||
<button>button</button> | |||
<input id="last-global-focusable" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: I replaced <button>
with <input>
in all these tests around to make them pass locally in Webkit. For some reason, buttons are not always reachable by Tab in Webkit on Mac OS.
@@ -540,8 +540,7 @@ describe('keyboard interaction mode', () => { | |||
// Tab downwards | |||
for (let i = 1; i <= tabToIndex; i++) { | |||
await rendered(); | |||
queueMicrotask(async () => await sendKeys({ press: 'Tab' })); | |||
await oneEvent(grid, 'focusin'); | |||
await sendKeys({ press: 'Tab' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: Fixes the random failures locally and on CI.
@@ -64,6 +64,7 @@ export const SelectBaseMixin = (superClass) => | |||
value: false, | |||
notify: true, | |||
reflectToAttribute: true, | |||
sync: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: Without sync: true
, the overlay was closing asynchronously, which affected subsequent tests and specifically caused the failure of this test in Firefox:
web-components/packages/select/test/validation.common.js
Lines 63 to 71 in b9e3d2f
it('should validate once on close with Tab', async () => { | |
select.focus(); | |
select.click(); | |
await nextRender(); | |
await sendKeys({ press: 'Tab' }); | |
await nextUpdate(select); | |
expect(validateSpy.calledOnce).to.be.true; | |
}); |
@@ -111,9 +109,9 @@ describe('dashboard - keyboard interaction', () => { | |||
expect(spy.firstCall.args[0].detail).to.eql({ item: { id: 0 }, value: true }); | |||
}); | |||
|
|||
(isChrome || isFirefox ? it : it.skip)('should not remove the widget on backspace', async () => { | |||
(isChrome || isFirefox ? it : it.skip)('should not remove the widget on Delete', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: Changed to Delete because Backspace sometimes triggered navigation to the previous page in Webkit, which interrupted the execution of the entire test file.
Quality Gate passedIssues Measures |
Co-authored-by: Tomi Virkki <[email protected]>
Hi @vursen and @vursen, when i performed cherry-pick to this commit to 24.5, i have encountered the following issue. Can you take a look and pick it manually? |
Co-authored-by: Sergey Vinogradov <[email protected]> Co-authored-by: Tomi Virkki <[email protected]>
Co-authored-by: Tomi Virkki <[email protected]>
Co-authored-by: Tomi Virkki <[email protected]>
This ticket/PR has been released with Vaadin 24.7.0.alpha3 and is also targeting the upcoming stable 24.7.0 version. |
Upgrades Playwright to version 1.48.2.
Depends on